import states from '../states/user';
import methods from '../methods/setuser';
const ii =  (state=states,action)=>{
        try {
           return methods[action.type](state,action.list)
        } catch (error) {
            return state
        }
    }
    
export default ii